package com.pktechan.api.sendMiniMessage;


import com.pktechan.api.sendMiniMessage.bean.BaseMiniMessage;
import com.pktechan.api.sendMiniMessage.enumration.SendMiniMessageEnum;

/**
 * @program: gsPrivateSale19
 * @description: 发送微信公众号模板消息策略
 * @author: qx.zhang
 * @create: 2020-02-28 16:28
 **/
public interface SendMiniMessageStrategy {
    /**
     * 获取发送消息对象对应的枚举
     *
     * @return
     */
    SendMiniMessageEnum getMappingEnum();

    /**
     * 发送微信公众号模板消息通知请求到MQ中，
     *
     * @param baseMiniMessage
     */
    void sendMiniMessageToActiveMq(BaseMiniMessage baseMiniMessage);
}
